<?php
setcookie('aaa','123',time()+1800);
setcookie('username','zhangsan',time()+1800);